package com;
import java.util.Random;
import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        int i, j, count;

        Random r = new Random();
        
        GameMap gm = new GameMap();
        GameRule gr = new GameRule();
        GameTimer gt = new GameTimer();

        if(gm.reset(r.nextInt()) == true){
            gm.output_map();
        }
        System.out.print('\n');

        gt.start(gm);

    }
   /* 
    public static void test(int[][] map) {

        int row = 0;
        int col = 0;
        Random r = new Random();
        int count = 0;
        gameMap gm = new gameMap();


        for (int i = 0; i < 5; i++) {
            row = r.nextInt(Size);
            col = r.nextInt(Size);

            System.out.print("row = " + row + ", col = " + col + '\n');
            count = gm.get_neighbor_count(map, row, col);
            System.out.println(count);
        }
    }
    */
    
}